<template>
  <el-row>
    <el-button type="warning" :icon="Message" circle></el-button>
    <el-button size="small" @click="logout">退出</el-button>
  </el-row>
</template>

<script>
import { mapMutations } from "vuex";
export default {
  name: "UserInfoBox",
  methods: {
    logout() {
      this.REMOVE_TOKEN();
    },
    ...mapMutations(["REMOVE_TOKEN"]),
  },
};
</script>

<style scoped>
.demo-type {
  vertical-align: middle;
}
</style>